package com.scvtc.service.research;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scvtc.domain.ResResult;
import com.scvtc.domain.dto.research.book.ResearchCourseBookDto;
import com.scvtc.domain.entity.research.ResearchCourseBook;
import com.scvtc.domain.vo.PageVo;
import com.scvtc.domain.vo.research.book.ResearchCourseBookVo;

import java.util.List;

/**
 * 科研教材信息(ResearchCourseBook)表服务接口
 *
 * @author yiFei
 * @since 2022-06-02 16:17:08
 */
public interface ResearchCourseBookService extends IService<ResearchCourseBook> {
    /**
     * 查询科研教材信息
     *
     * @param current
     * @param size
     * @param researchCourseBookVo
     * @return
     */
    ResResult<PageVo<List<ResearchCourseBookVo>>> getAllResearchCourseBook(Long current, Long size, ResearchCourseBookVo researchCourseBookVo);
    /**
     * 添加科研教材信息
     *
     * @param researchCourseBookDto
     * @return
     */
    ResResult<?> addResearchCourseBook(ResearchCourseBookDto researchCourseBookDto);
    /**
     * 修改科研教材信息
     *
     * @param researchCourseBookDto
     * @return
     */
    ResResult<?> updateResearchCourseBook(ResearchCourseBookDto researchCourseBookDto);
    /**
     * 删除科研教材信息
     *
     * @param id
     * @return
     */
    ResResult<?> deleteResearchCourseBook(Long id);
    /**
     * 删除多个科研教材信息
     *
     * @param ids
     * @return
     */
    ResResult<?> deleteMultipleResearchCourseBook(Long[] ids);
}

